home *** CD-ROM | disk | FTP | other *** search
- This archive has a device driver for the Jay Kubicky BYTE
- article midi board. The driver is installed by putting MIDI.BIN in your
- boot disk root directory, adding a line to your CONFIG.SYS file
- DEVICE=MIDI.BIN
- and then re-booting. This version assumes that both UARTs are hooked up
- with separate inputs and outputs, but if you stick to device MIDIA (midi
- port A), it will work on an unchanged board.
-
- Included are two C programs that demonstrate how to use the
- driver, TWRITE MIDIA will ask you for hex values to send down the MIDIA
- device. It's dumb: you must type them one at a time with a carriage
- return after each. Try 90 40 40 40 0 to hear it make a noise.
- TREAD MIDIA will display hex bytes that it gets from the MIDIA device.
- You can select a timeout delay period in microseconds (2000 or more is
- a good first value). If you do not type anything on the midi keyboard
- within that time, a beep and an error display is printed. Overflowing
- the input buffer will also print a different message. (Overflow only
- happens because the C compiler is terribly slow at printing hex numbers,
- and pitchbend and aftertouch are FAST!). Note that both programs
- require that you mention the name of the midi device when you run them
- so they know which one to test. If you haven't hooked up the 2nd uart,
- always say MIDIA
-
- The driver, and both test programs are included in source and
- executable. MIDI.ASM is the device driver, and MIDIO.ASM is some
- C-callable routines to get raw-mode access to MSDOS devices. This
- version assumes Microsoft C with the small memory model.
-
- I can be reached for questions at:
- Mike Higgins
- P.O. Box 197
- Duncans Mills, CA 95430
- Or on various MIDI BBS's
-
-